package com.carb.dto;

import com.carb.enums.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "新增员工传递的数据模型")
public class EmployeeAddDTO extends UserAddDTO implements Serializable {

    @Schema(description = "职位",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private EmployeePosition position;

    @Schema(description = "每月薪资 (单位为分)",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer salary;

    @Schema(description = "员工技能",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private String skills;

}
